package ph.com.gs3.formalistics.mock;

import java.util.Map;

import ph.com.gs3.formalistics.communicators.Communicator;
import ph.com.gs3.formalistics.communicators.CommunicatorModule.CommunicatorException;

public class FakeCommunicator extends Communicator {

	private String fakeResponse;

	public void setFakeResponse(String fakeResponse) {
		this.fakeResponse = fakeResponse;
	}

	@Override
	public String getResponseString(String urlString, Map<String, String> parameters,
	        String requestMethod) throws CommunicatorException {
		return fakeResponse;
	}

}
